/*
 * by cansik / Florian
 * Datum: 19.08.2010
 * Zeit: 12:51
 * 
 *
 */
using System;

namespace TM.Unofficial.PersonalMessageSystem
{
	/// <summary>
	/// Description of PersonalMessage.
	/// </summary>
	public class PersonalMessage
	{
		/// <summary>
		/// Member who receives the message
		/// </summary>
		public string Recipient{get; set;}
		/// <summary>
		/// Subject of the message
		/// </summary>
		public string Subject{get; set;}
		/// <summary>
		/// Content of the message
		/// </summary>
		public virtual string Text{get; set;}
		
		/// <summary>
		/// Create a new personal message
		/// </summary>
		public PersonalMessage()
		{
		}
		
		/// <summary>
		/// Create a new personal message
		/// </summary>
		/// <param name="Recipient">Member who receives the message</param>
		/// <param name="Subject">Subject of the message</param>
		/// <param name="Text">Content of the message</param>
		public PersonalMessage(string Recipient, string Subject, string Text)
		{
			this.Recipient = Recipient;
			this.Subject = Subject;
			this.Text = Text;
		}
	}
}
